/*
 * @Author: fengweicong 75202172+fengweicong@users.noreply.github.com
 * @Date: 2022-06-27 18:42:33
 * @LastEditors: fengweicong 75202172+fengweicong@users.noreply.github.com
 * @LastEditTime: 2022-06-28 10:06:33
 * @FilePath: \B2B\ebuy\src\vuex\modules\supplier\index.js
 * @Description: 卖家页面
 * 
 * Copyright (c) 2022 by fengweicong 75202172+fengweicong@users.noreply.github.com, All Rights Reserved. 
 */
export default {
    namespaced:true,
    state:{
        supplier_id: undefined, //卖家id
        product_id: undefined, //产品id
    },
    getter:{

    },
    mutations:{
        SETACCOUNTID(state, id){
            state.supplier_id = id
        }
    },
    actions:{
        // 设置当前登录的账号id
        setSupplierId({ commit }, id) {
            commit('SETACCOUNTID', id)
        }
    }
}
 